<template>
  <div>
      <input type="text"
       placeholder="用户名"
        v-model="username">
        <br>
        <input type="text"
       placeholder="密码"
        v-model="password">
        <br>
        <select v-model="team">
            <option value="laoying">老鹰</option>
             <option value="taiyang">太阳</option>
              <option value="kuaichuan">快船</option>
        </select>
        <br>
<input type="radio" value="smaking" v-model="best">抽烟
<input type="radio" value="drinking" v-model="best">喝酒
<input type="radio" value="coding" v-model="best">写代码
<br>
<!-- 复选框 -->
<input type="checkbox" v-model="isAgree">
<br>
个人爱好
<input type="checkbox" value="smaking" v-model="hobby">抽烟
<input type="checkbox" value="drinking" v-model="hobby">喝酒
<input type="checkbox" value="coding" v-model="hobby">写代码
<br>
个人简历：
<textarea v-model="intro"></textarea>
  </div>
</template>

<script>
export default {
data(){
    return {
        username:'',
        password:'',
        team:'laoying',
        best:'drinking',
        isAgree:'false',
        hobby:[],
        intro:''
    }
}
}
</script>

<style>
textarea{
    resize:none
}
</style>